VERSION = 1.3
ZIP = zip

PACKNAME = cream13
ZIPFILE = $(PACKNAME).zip
ZIPIGNORE = -x \*.class -x \*~
ARCHIVE = cream/Makefile cream/cream.jar cream/src cream/docs cream/examples
DEST = /home/httpd/html/cream

all:
	(cd src; $(MAKE))
#	(cd docs; $(MAKE))
	(cd examples; $(MAKE))

zip:
	(cd ..; rm $(ZIPFILE); $(ZIP) -r $(ZIPFILE) $(ARCHIVE) $(ZIPIGNORE))

cp:
	cp -p ../$(ZIPFILE) $(DEST)
	rsync -uazrlv --delete . $(DEST)/$(PACKNAME)

removeCVS:
	for f in `find . -name CVS -print` ; do echo rm -rf $$f ; rm -rf $$f ; done

clean:
	(cd src; $(MAKE) clean)
	(cd docs; $(MAKE) clean)
	(cd examples; $(MAKE) clean)

